-
Notifications
You must be signed in to change notification settings - Fork 4
Enable Virtual disk as storage mode in PIM #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Manjunath-A-C <[email protected]>
Signed-off-by: Manjunath-A-C <[email protected]>
Signed-off-by: Manjunath-A-C <[email protected]>
Signed-off-by: Manjunath-A-C <[email protected]>
Signed-off-by: Manjunath-A-C <[email protected]>
|
||
if not storage_attached: | ||
if not storage_attached or not vdisk_attached: | ||
vios_storage_list = vios_operation.get_vios_with_physical_storage( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for vdisk also we need to check physical storage vios list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes because we create virtual disk from physical storage with sufficient space.
cli/vios/vios.py
Outdated
logger.info( | ||
f"Removing SCSI mapping for physical disk '{phys_disk}'") | ||
command_util.remove_scsi_mappings( | ||
config, cookies, sys_uuid, partition_uuid, vios_uuid, vios, phys_disk) | ||
storage_cleaned = True | ||
# Check if attached disk is virtual disk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this func has become too long, please see you can refactor it to sub funcs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
Signed-off-by: Manjunath-A-C <[email protected]>
Signed-off-by: Manjunath-A-C <[email protected]>
Signed-off-by: Manjunath-A-C <[email protected]>
Signed-off-by: Manjunath-A-C <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just minor nit on log statements where var are surrounded with single quotes in few places and not in few places, can you fix this before merging?
Pls don't forget to squash the commits before merge |
sure |
Signed-off-by: Manjunath-A-C <[email protected]>
No description provided.